<template>
  <div>
    <div class="main">
      <div v-for="(item, i) in list" :key="i" class="list-node">
        <caidan-type-block :id="item"></caidan-type-block>
      </div>
    </div>
  </div>
</template>

<script>
import CaidanTypeBlock from "./CaidanShowType/CaidanTypeBlock.vue";
export default {
  components: { CaidanTypeBlock },
  props: {
    list: Array,
  },
};
</script>

<style lang="less" scoped>
.main {
  width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  .list-node {
    margin: 10px;
  }
}
</style>

